sleep() java

147

java sleep in code -

import java.util.concurrent.TimeUnit

TimeUnit.SECONDS.sleep(1);
or
TimeUnit.MINUTES.sleep(1);

Comments

Submit
0 Comments